package com.lixl.singlemodel;

public class Demo {
	
	private static Demo demo;
	
	private String name;
	
	private Demo() {
		
	}
	
	public static Demo getInstance(){
		if(demo==null){
			demo = new Demo();
		}
		return demo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
